$def with (accountList)

<ul>
$for i in range(len(accountList)):
	<li id="t$i">$accountList[i]</li>
</ul>
    
    
<form method="post" action="add">
<p><input type="text" name="title" /><input type="text" name="title" /> <input type="submit" value="Add" /></p>
</form>